#!/usr/bin/python
# -*- coding: UTF-8 -*-


f = open('num.bin', 'w+b')
byte_arr = [0xff, 0xaa, 0xbb, 0, 0x01]
binary_format = bytearray(byte_arr)
f.write(binary_format)
f.close()
